<!DOCTYPE html>
<html>
<head>
    <title>{$category.name} {$category.seo_title} {$site_info.site_name|default=''}</title>
    <meta name="keywords" content="{$category.seo_keywords},{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$category.seo_description},{$site_info.site_seo_description|default=''}">
    <include file="public@head"/>
    <link rel="stylesheet" href="__TMPL__/public/assets/css/list.css">

    <hook name="before_head_end"/>
</head>
<body class="body-white">
<div class="container shadow">
    <include file="public@nav"/>

    <div class="section clearfix">
        <div class="section-left">
            <div class="news-container" style="margin-top: 0">
                <div class="news-container-header">
                    <if condition="!empty($parent_category)">
                        <a href="{:cmf_url('portal/List/index',array('id'=>$parent_category['id']))}"><h2>{$parent_category.name}</h2></a>
                        <else/>
                        <a href="{:cmf_url('portal/List/index',array('id'=>$category['id']))}"><h2>{$category.name}</h2></a>

                    </if>
                    <hr/>
                </div>
                <ul class="category-list">
                    <if condition="!empty($parent_category)">
                        <portal:subCategories categoryId="$parent_category['id']" item="vo">

                            <a href="{:cmf_url('portal/List/index',array('id'=>$vo['id']))}">
                                <li <if condition="$vo['id'] == $category['id']">class="active" </if> ><img src="__TMPL__/public/assets/images/arrow.png">{$vo.name}</li></a>
                        </portal:subCategories>
                        <else/>
                        <portal:subCategories categoryId="$category['id']" item="vo">

                            <a href="{:cmf_url('portal/List/index',array('id'=>$vo['id']))}">
                                <li <if condition="$vo['id'] == $category['id']">class="active" </if> ><img src="__TMPL__/public/assets/images/arrow.png">{$vo.name}</li></a>
                        </portal:subCategories>
                    </if>
                </ul>
            </div>

            <div class="news-container">
                <div class="news-container-header">
                    <h2>通知公告</h2>

                    <a href="" class="more">更多</a>

                </div>
                <hr/>
                <ul class="newslist">
                    <portal:articles limit="5" order="post.post_hits DESC"
                                     categoryIds="20">

                        <li style="line-height: 25px;">·<a
                                href="{:cmf_url('portal/Article/index',array('id'=>$vo.id,'cid'=>$vo.category_id))}"
                                target="_blank" title="{$vo['post_title']}">
                            {:sub_title($vo['post_title'],14)}</a></li>
                    </portal:articles>
                </ul>
            </div>
            <div class="news-container">
                <div class="news-container-header"><h2 style="">政策法规</h2><a href=""
                                                                            class="more">更多</a>
                </div>
                <hr/>
                <ul class="newslist">

                    <portal:articles limit="5" order="post.post_hits DESC"
                                     categoryIds="26">
                        <li style="line-height: 25px;">·<a
                                href="{:cmf_url('portal/Article/index',array('id'=>$vo.id,'cid'=>$vo.category_id))}"
                                target="_blank" title="{$vo['post_title']}">
                            {:sub_title($vo['post_title'],14)}</a></li>
                    </portal:articles>
                </ul>
            </div>
        </div>
        <div class="section-right">
            <div class="section-right-header">
                <a href="__ROOT__/">首页</a>-
                <portal:breadcrumb cid="$category.id" self="true"><a
                        href="{:url('portal/List/index',['id'=>$vo['id']])}">{$vo.name}</a>-
                </portal:breadcrumb>
            </div>
            <div class=section-content>
                <portal:articles limit="1" order="post.published_time DESC"
                                 categoryIds="$category.id" item="article">
                
                <script type=text/javascript>
                    function doZoom(size) {
                        document.getElementById('zoom').style.fontSize = size + 'px';
                    }
                </script>
                <div id=zoom class=text>
                    <p>
                        {$article.post_content}
                    </p>
                </div>
                </portal:articles>
            </div>
        </div>
    </div>
    <include file="public@footer"/>
</div>


<include file="public@scripts"/>
<hook name="before_body_end"/>
</body>
</html>